{include file='common/header'}
<ol class='breadcrumb' >
      <li ><a href="{:url('admin/index/index')}">admin</a></li>
      <li ><a href="{:url('user/lst')}">user</a></li>
      <li class='active'>edit</li>
</ol>
<h1 class='text-center'>修改用户</h1>
      <form   action="{:url('user/update',['id'=>$data['id']])}" method="post" 
              style="width: 400px;margin-left: 420px;" enctype="multipart/form-data"> 
         <div class='form-group has-feedback'>
            <label class='bg-success'><big>用户名</big></label>
            <input type='text' class='form-control' name='uname' value="{$data.uname}">
            <p class='help-block' style='color:red;display: none'>你的用户名太短</p>
         </div>
         <div class='form-group has-feedback'>
            <label class='bg-success'><big>email</big></label>
            <input type='email' class='form-control' name='email' value="{$data.email}"> 
            <p class='help-block' style='color:red;display: none;'>你的email格式有误</p>
         </div>
         <div class='form-group has-feedback'>
            <label class='bg-success'><big>tel</big></label>
            <input type='tel' name='tel'class='form-control' value="{$data.tel}">
            <p class='help-block' style='color:red;display: none;'>你的电话格式有误</p>
         </div>     
         <div class='form-group' >
            <button class='btn btn-primary btn-block' style='font-size: 25px;'>submit</button>
         </div>      
     </form>
{include file='common/footer'}